package com.pzb.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 图片管理对象 pic_file
 * 
 * @author pzb
 * @date 2021-09-10
 */
public class GoodsPicture implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 存储文件路径 */
    private String filePath;

    /** 缩略图路径 */
    private String previewPath;


    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("filePath", getFilePath())
            .append("previewPath", getPreviewPath())
            .toString();
    }
}
